<HTML>
<HEAD>
<TITLE>
Foo.h
</TITLE>
</HEAD>
<BODY>
<PRE>
<font color="blue">#pragma</font> once


<font color="green">/**
 * This is the &#60;b&#62;Foo&#60;/b&#62; class.
 */</font>
<font color="blue">class</font> Foo
<font color="black">{</font>
<font color="blue">public</font><font color="black">:</font>
    
    <font color="green">/**
     * The default constructor for Foo.
     */</font>
    Foo<font color="black">(</font><font color="black">)</font>
    <font color="black">{</font>
    <font color="black">}</font>


    <font color="green">/**
     * Another constructor for Foo.  Incidentally, you can put
     * &#60;pre&#62;
     *     HTML formatting
     * &#60;/pre&#62;
     * in documentation comments.
     */</font>
    Foo<font color="black">(</font> <font color="blue">const</font> <font color="blue">char</font><font color="black">*</font> <font color="black">)</font>;


    <font color="green">/**
     * Foo destructor.
     */</font>
    ~Foo<font color="black">(</font><font color="black">)</font>
    <font color="black">{</font>
    <font color="black">}</font>
    
    
    <font color="green">/**
     * This is the function &#60;i&#62;funk&#60;/i&#62; within
     * the Foo class.
     */</font>
    virtual <font color="blue">void</font> funk<font color="black">(</font> <font color="blue">int</font> n <font color="black">)</font>
    <font color="black">{</font>
    <font color="black">}</font>


    <font color="blue">bool</font> anotherFunc<font color="black">(</font><font color="black">)</font>;  <font color="green">// this is documented in Foo.cpp</font>



<font color="blue">private</font><font color="black">:</font>
    <font color="green">/**
     * Here is a private member variable (&#60;i&#62;m_var&#60;/i&#62;).
     */</font>
    <font color="blue">int</font> m_var;
<font color="black">}</font>;

</PRE>
</BODY>
</HTML>
